#!/bin/bash
#v1.0 version from lubanos2 to, by Michael Zhang
m=`date|awk '{print $2}'`
d=`date|awk '{print $3}'`
t=`date|awk '{print $4}'`
hn=`hostname`
if [ "$hn" = "LUBAN" ]; then
 m=`date|awk '{print $3}'`
 d=`date|awk '{print $2}'`
 t=`date|awk '{print $5}'`
fi
#zipfile=design_shape_$m$d-$t.zip
zipfile=design_shapes.zip
base_dir=$1
zip_file_dir=$2
project_dir=$base_dir

if [ `hostname` = "mich"  ]; then
 mylog=./stab2.log
fi
cd $base_dir
zip -q -r $zipfile *
mv $zipfile $2
